package com.zzpct.wh.work.whactivity.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.zzpct.wh.work.whactivity.entity.QicheguzhangInfo;

import java.util.List;

public class QicheguzhangAdapter extends ArrayAdapter<QicheguzhangInfo>{
    int resourceid;

    public QicheguzhangAdapter(@NonNull Context context, int resource, @NonNull List<QicheguzhangInfo> objects) {
        super(context, resource, objects);

    }
    @Override
    public View getView(int postition,View converView,ViewGroup parent){
        View view=converView;
        if (view==null){
            view=LayoutInflater.from(getContext()).inflate(resourceid,null);

        }
        return converView;
    }
    }

